<template>
  <div id="app">
    <router-view />
  </div>
</template>

<script>
export default {
  name: 'App',
  created(){
    //设置根元素字体大小,到时候根据屏幕实际宽度，将根元素字体大小调节为100px即可
    // let htmlDom = document.getElementsByTagName('html')[0];
    // let htmlWidth = window.screen.width;
    // let htmlWidth = document.documentElement.clientWidth || document.body.clientWidth;
    // htmlDom.style.fontSize= (htmlWidth/1920) + 'px';
  }
}
</script>
